package app.modules.infrastructure.lov.persistence.mapper;

import app.modules.infrastructure.lov.persistence.entity.ValueItemEO;
import jasmine.framework.database.mybatisplus.mapper.BaseMapperEx;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * @author mh.z
 */
public interface ValueItemMapper extends BaseMapperEx<ValueItemEO> {

    /**
     * 查询值项
     *
     * @param valueSetGlobalCode
     * @param valueCodes
     * @param tenantIds
     * @return
     */
    List<ValueItemEO> listByValueSetGlobalCodeNoI18n(@Param("valueSetGlobalCode") String valueSetGlobalCode,
                                                     @Param("valueCodes") Collection<String> valueCodes,
                                                     @Param("tenantIds") Collection<Long> tenantIds);
}
